package com.jbp.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.jbp.model.Wallet;
import com.jbp.utils.PageUtils;

import java.util.List;
import java.util.Map;

/**
 * 用户钱包(Wallet)表服务接口
 * @author cc
 * @since 2020-06-20 09:43:00
 */
public interface WalletService extends IService<Wallet> {
    PageUtils queryPage(Map<String, Object> params);

    Wallet getByUserId(Integer userId);

    void updateWithLock(Wallet wallet);
}